# Author:xiaoma
# date：1014-week07

# “Don't panic" ==> "on tap"
phrase = "Don't panic!"
plist = list(phrase) # list()可以将str转list
print(phrase)
print(plist)

print(plist[1:3])
on_str = ''.join(plist[1:3])
print(on_str)
new_phrase = on_str + plist[5] + plist[4] + plist[7] + plist[6]
print(new_phrase)